<center>
<?php

        $scriptName = $_SERVER['SCRIPT_NAME'];

        $db_server = "(HOST = dbhost.cs.missouri.edu)";
        $userName = "cs3380sp11grp2";
        $passwd = "WRxw5Pwx";

          // Open link with access to data
      $link = oci_connect($userName, $passwd, $db_server)
                or die("Could not connect fml : " . mysqli_connect_error() );
       
        /* Building SQL query */
        $query = "SELECT * FROM Users";

        /* Performing SQL query */
        $result = mysqli_query($link, $query)
                or die("Query failed : " . mysql_error());

        /* Printing results in HTML */

        echo "<table border=1 cellpadding=13>\n";
  
        while ($line = mysqli_fetch_array($result, MYSQLI_ASSOC))
        {
                echo "\t<tr>\n";

                foreach ($line as $col_value)
                {
                        echo "\t\t<td>$col_value</td>\n";
                }

                echo "\t</tr>\n";
        }
        echo "</table>\n";


        /* Free resultset */
        mysqli_free_result($result);

        /* Closing connection */
        mysqli_close($link);

?>
</center>

